<div id="header">
    <h1>签到</h1>
    <!--{if $user_uid > '0'}-->
       <a href="index.php?{$Bingz_ml}=user"  id="Top1_loginMenu"><img src="{$user_tx}"/></a>
    <!--{else}-->
       <a href="index.php?{$Bingz_ml}=user&{$Bingz_md}=login" id="Top1_login">登录|注册</a> 
    <!--{/if}-->
    <a href="{$plugin_Address}" id="back" >返回</a>
</div>
<!--{if $pdid == 1 }-->
    <div id="container">
        <div class="content">
        	你好，你没有登陆！<br/>
          <a href="index.php?{$Bingz_ml}=user&{$Bingz_md}=login">进入登陆</a>
          <meta http-equiv=refresh content="3;url=index.php?{$Bingz_ml}=user&{$Bingz_md}=login">
        </div>
    </div>
<!--{elseif $pdid == 2 }-->    
    <div id="container">
        <div class="box"><div class="content">
        	{$tjts}<br/>
          <!--{if $foid}-->    
          <a href="index.php?{$Bingz_ml}=forum&amp;{$Bingz_md}=viewthread&amp;fid={$foid}">进入签到帖子</a><br/>
          <a href="{$plugin_Address}">返回签到页面</a>
          <meta http-equiv=refresh content="3;url=index.php?{$Bingz_ml}=forum&amp;{$Bingz_md}=viewthread&amp;fid={$foid}">
          <!--{else}--> 
          <a href="{$plugin_Address}">返回签到页面</a>
          <meta http-equiv=refresh content="3;url={$plugin_Address}">
          <!--{/if}-->
        </div></div>
    </div>
<!--{elseif $pdid == 3 }-->    
    <div id="container">
        <div class="topicList">
            <ul id="topicListFilter">
            	          <li><a id="repFilter_ctl00_btnFilter" href="{$plugin_Address}">签到中心</a></li>
                        <li><a id="repFilter_ctl01_btnFilter" class="current" href="{$plugin_Address}&act=phb">排行榜</a></li>
            </ul>
        </div>
        <div class="box">
                  <div class="listViewIcon1">
	                  <ul>
                       <!--{loop $qiandao $vak}-->
                         <li><a href="index.php?{$Bingz_ml}=user&uid={$vak[hyuid]}" class="c">
                             <img src="{$vak[logo]}" width="62" height="62" />
                             <h3>{$vak[hyname]}</h3>
                             <p>天数：{$vak[day]}</p>
                             <p>最后：{$vak[time_a]}<i class="fa fa-apple icon"></i></p>
                             <i class="iconArrowR">右箭头</i>
                           </a>
                         </li>
                       <!--{/loop}-->
                    </ul>
                  </div>
                  {$page}
        </div>
    </div>
<!--{else}-->
    <div id="container">
                  <div class="listViewIcon1">
	                  <ul>
                         <li><a href="index.php?{$Bingz_ml}=user&uid={$user_uid}" class="c">
                             <img src="{$user_tx}" width="62" height="62" />
                             <h3>{$user_name}</h3>
                             <p>签到天数：{$ts}</p>
                             <p>最后签到：{$timemm}<i class="fa fa-apple icon"></i></p>
                             <i class="iconArrowR">右箭头</i>
                           </a>
                         </li>
                    </ul>
                  </div>
        <div class="topicList">
            <ul id="topicListFilter">
            	          <li><a id="repFilter_ctl00_btnFilter" class="current" href="{$plugin_Address}">签到中心</a></li>
                        <li><a id="repFilter_ctl01_btnFilter" href="{$plugin_Address}&act=phb">排行榜</a></li>
            </ul>
        </div>
        <div class="box">
	      <form action="{$plugin_Address}&act=ok" method="POST" >
        <textarea class="textarea" type="text" name="mm" placeholder="输入签到内容" >{$qdname}</textarea><br/>
        <input class="submit" type="submit" name="submit" value="签到" />
        </form>
        <b>签到规则</b>：每天会员只能签到一次<br/>
        <b>奖励规则</b>：{$fangs}
        </div>
    </div>
<!--{/if}-->